package com.service.gmall.product.controller;

import com.service.gmall.common.result.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

/**
 * @author alpha
 * @className: HelloController
 * @date 2022/8/29 10:30
 * @Description
 */
@RestController
public class HelloController {
    Map<String,String> map = new HashMap<>();
    @GetMapping("hello")
    public Result test(){
        String s = UUID.randomUUID().toString();
        map.put(s,s);
        return Result.ok();
    }
}
